import React from 'react'
import ReactDOM from 'react-dom/client'
import { ConfigProvider } from 'antd'
import zhCN from 'antd/locale/zh_CN'
import App from './App.tsx'
import { antdTheme } from './theme'
import './index.css'

ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    <ConfigProvider 
      theme={antdTheme} 
      locale={zhCN}
    >
      <App />
    </ConfigProvider>
  </React.StrictMode>,
)
